﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;


namespace sgsBase
{
[Serializable] public class DbSecXrGroupItem :  DbObject
{
  public DbSecXrGroupItem() : base()
  {
      Table = "dbo.sec_xr_group_item";
      Database = "sgs_core";
      Columns.AddColumn("group_id", SqlDbType.Int, true, false);
      Columns.AddColumn("item_id", SqlDbType.Int, true, false);
      Columns.AddColumn("level_id", SqlDbType.Int);
  }
  
  #region Properties
  
      public int GroupId
      {
          get { return Columns.IntAt(0);}
          set { Columns.SetValAt(0, value);}
      }

      public int ItemId
      {
          get { return Columns.IntAt(1);}
          set { Columns.SetValAt(1, value);}
      }

      public int LevelId
      {
          get { return Columns.IntAt(2);}
          set { Columns.SetValAt(2, value);}
      }

  
  #endregion
}
}
